package top.withwings.bonus.bonus.pojo.bonus.rule;

import top.withwings.bonus.bonus.pojo.BonusForm;
import top.withwings.bonus.bonus.pojo.Rate;

import java.util.LinkedHashMap;

public abstract class SingleBonusRule extends BonusRule {

    abstract Rate applyOn(BonusForm bonusForm);
    public SingleBonusRule(){

    }
    public SingleBonusRule(int id , String name, LinkedHashMap<String,Double> paramMap){
        super(id,name,paramMap);
    }
}